package br.com.wagnerpaz.javahook;

/**
 * @author Wagner Paz
 * @since  1.0
 */
public class NativeMouseEvent
{
	public static final int NOBUTTON = 0;
	public static final int BUTTON1  = 1;
	public static final int BUTTON2  = 2;
	public static final int BUTTON3  = 3;
	public static final int MOUSE_MOVED    = 503;
	public static final int MOUSE_PRESSED  = 501;
	public static final int MOUSE_RELEASED = 502;
	public static final int MOUSE_WHEEL    = 507;
	
	private int  id;
	private long when;
	private int  modifiers;
	private int  x;
	private int  y;
	private int  button;
	
	public NativeMouseEvent(int id, long when, int modifiers, int x, int y,	int button)
	{
		this.id   = id;
		this.when = when;
		this.modifiers = modifiers;
		this.x = x;
		this.y = y;
		this.button = button;
	}

	public int getId()
	{
		return id;
	}

	public long getWhen()
	{
		return when;
	}

	public int getModifiers()
	{
		return modifiers;
	}

	public int getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}

	public int getButton()
	{
		return button;
	}
}